<template>
    <van-swipe :autoplay="3000" lazy-render>
        <van-swipe-item v-for="image in image" :key="image">
            <img :src="image" style="width: 100%; height: 200px;" />
        </van-swipe-item>
    </van-swipe>
</template>

<script setup>
   const image = [
      'https://fastly.jsdelivr.net/npm/@vant/assets/apple-1.jpeg',
      'https://fastly.jsdelivr.net/npm/@vant/assets/apple-2.jpeg',
       'https://fastly.jsdelivr.net/npm/@vant/assets/apple-3.jpeg',
      'https://fastly.jsdelivr.net/npm/@vant/assets/apple-4.jpeg',
    ];
</script>

<style lang="scss" scoped></style>